﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace ECC_EXT_ImageUtility.ImageLib
{
    [Serializable]
    public class WaterMarkMDO
    {
        public string Name { get; set; }

        public int PositionX { get; set; }
        public int PositionY { get; set; }

        //public string ImageSrc { get; set; }

        public string WaterMarkSrc { get; set; }
        public string WaterMarkText { get; set; }
        public Size RecSize { get; set; }
        public float MinFontSize { get; set; }
        public bool Enable { get; set; }

        //public Image ImageInstant
        //{
        //    get { return Image.FromFile(this.ImageSrc); }
        //}

        //public Rectangle RectangleDest
        //{
        //    get { return new Rectangle(this.PositionX, this.PositionY, this.ImageInstant.Width, this.ImageInstant.Height); }
        //}
    }
}
